Fluent Assertions Documentation
FluentAssertions.Primitives Namespace / DateTimeOffsetAssertions<TAssertions> Class / BeExactly Method
In This Topic
    BeExactly Method (DateTimeOffsetAssertions<TAssertions>)
    In This Topic
    Asserts that the current System.DateTimeOffset is exactly equal to the expected value, including its offset.
    Overload List
    OverloadDescription
    Asserts that the current System.DateTimeOffset is exactly equal to the expected value, including its offset.  
    Asserts that the current System.DateTimeOffset is exactly equal to the expected value, including its offset. Comparison is performed using System.DateTimeOffset.EqualsExact(System.DateTimeOffset)  
    Returns a DateTimeOffsetRangeAssertions<TAssertions> object that can be used to assert that the current System.DateTimeOffset differs exactly the specified timeSpan compared to another System.DateTimeOffset.  
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also